import string

class KillmailPreProcessor(object):
    
    def __init__(self, Killmail):
        self.killmail = Killmail
        self.processed = False
    
    def isProcessed(self):
        return self.processed
    
    #Strips all Lines and updates the killmail
    def Process(self):
        temp = []
        for item in self.killmail:
            temp.append(item.strip())
        self.processed = True    
        self.killmail = temp
            